Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

General Information


ServiceAPIMethodData ModelWorkflow
urac

/admin/users/uninvite

PUTUsers 

Description

This API uninvites users that have an id, username, or email that fits the one sent in the user object in the request body to subtenant that has the external key sent in the request headers.


Input


Type: application/json
NameSourceMandatoryTypeSpecial FormatDescription
UsersBodyYESObjectincludes user object, groups array, and pin object

NameSourceMandatoryTypeSpecial FormatDescription
userBodyYESObjectIncludes one of id, username, or emailUser Object

One of the following should exist under the user object:

NameMandatoryTypeSpecial FormatDescription
idYESStringN/AUser ID
usernameYESStringN/AUsername
emailYESStringN/AUser Email


Output


Response

SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response 

Valid Response

Valid Response Sample
{ 
  result: true,
  data: { 
	succeeded: [ { id: '5da721b6c257840b3fe44377' } ],
  	failed: [] 
  }
}

Invalid Response

Error Response Sample
{
    "result":false,
    "errors":{
        "codes":[602],
        "details":[
            {
                "code":602,
                "message":"Model error: + %model_error%"
            }
        ]
    }
}

Response validation

NameMandatoryTypeSpecial FormatDescription
succeededYESArrayArray of ObjectsSucceeded response information

One of the following should exist under the succeeded object:

NameMandatoryTypeSpecial FormatDescription
idYESStringN/AUser ID
usernameYESStringN/AUsername
emailYESStringN/AUser Email
failedYESStringN/AFailed response information

NameMandatoryTypeSpecial FormatDescription
reasonYESStringN/AFailing reason

Response schema

Follow this link to check out the response JSON Schema

SOAJS Error Codes


Code
Description
400

Business logic required data are missing

530

Users array is required

602Model error: + %model_error%
  • No labels