Credentials
API for managing credentials CRUD
Parameters
Name
In
Type
Required
Description
username
path
string
true
a username of Grupo Masmovil
org
path
string
true
a orgID of Grupo Masmovil
Request example
1
2
3
4
5
curl -X DELETE https://credentials.masstack.com/v1/orgs/{ org} /credentials/{ username} \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}"
Parameters
Name
In
Type
Required
Description
username
path
string
true
a username of Grupo Mamovil
org
path
string
true
a orgID of Grupo Mamovil
Request example
1
2
3
4
5
curl -X GET https://credentials.masstack.com/v1/orgs/{ org} /credentials/{ username} \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}"
Parameters
Name
In
Type
Required
Description
username
path
string
true
a username of Grupo Mamovil
org
path
string
true
a orgID of Grupo Mamovil
body
body
InboundChangeStatusCredential
true
Password and security token.
1
2
3
4
{
"enabled" : true ,
"require2fa" : true
}
Name
Type
Required
Description
enabled
boolean
true
Enables or disables the credential
require2fa
boolean
false
If true the 2fa is required
Request example
1
2
3
4
5
6
7
8
9
10
curl -X PATCH https://credentials.masstack.com/v1/orgs/{ org} /credentials/{ username} \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}" \
--data-raw "{
'enabled': true,
'require2fa': true
}"
Parameters
Name
In
Type
Required
Description
username
path
string
true
a username of Grupo Mamovil
org
path
string
true
a orgID of Grupo Mamovil
Request example
1
2
3
4
5
curl -X POST https://credentials.masstack.com/v1/orgs/{ org} /credentials/{ username} \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}"
Parameters
Name
In
Type
Required
Description
username
path
string
true
a username of Grupo Mamovil
org
path
string
true
a orgID of Grupo Mamovil
body
body
InboundCredential
true
Password and security token.
1
2
3
4
{
"password" : "string" ,
"token" : "string"
}
Name
Type
Required
Description
password
string
true
New password for the customer credential
token
string
true
Security token issued in order to change passwords
Request example
1
2
3
4
5
6
7
8
9
10
curl -X PUT https://credentials.masstack.com/v1/orgs/{ org} /credentials/{ username} \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}" \
--data-raw "{
'password': 'string',
'token': 'string'
}"
Parameters
Name
In
Type
Required
Description
username
path
string
true
a username of Grupo Mamovil
org
path
string
true
a orgID of Grupo Mamovil
Request example
1
2
3
4
5
curl -X POST https://credentials.masstack.com/v1/orgs/{ org} /credentials/{ username} /change_password \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}"