Description

Before using this endpoint, please review the OAuth2 authentication protocol and the purpose of each token by visiting: https://dru-id.com/developers/apis/oauth-2/.

To successfully invoke this service, a valid client_token associated with an authorized API client is required. Ensure that your application is properly registered and has been granted the necessary permissions to obtain and use this token.

Removes an existing typology from the system, provided it is not linked to any user, entry point, or assertion. Once a typology has been used for the first time, it must remain in the system to ensure data integrity and compliance.

Endpoint URL:

 POST https://{your-endpoint-domain.com}/activityid/v1/typology/delete

Request Headers

ParameterDescriptionTypeRequired
Authorization“Bearer app_token” Literal text Bearer followed by app_token that is the token obtained from /oauth2/token endpointstringyes
Content-TypeThe type of content that will be used for requests to be JSONstringyes
AcceptThe type of content that will be used for responses to be JSONstringyes
FromName of the entry pointstringyes
Accept-LanguageLanguage for this requestLocaleno

Query string parameters

None

Request Example

ParameterDescriptionTypeRequiredValue
actor.idapp_id of the application you are using to log userstringyesapp id
actor.objectTypeType of the object which represents the actor.stringyes‘application’
verbVerb used for deleting the typologystringyes‘delete’
object.objectTypeObjectType represents the typologystringyes‘typology’
object.nameName or key of the typology to be deleted.stringyes‘My Typology’
source.idType of device doing the activitystringyes‘unknown’ | ‘pc’ | ‘mobile’ | ‘tablet’ | ‘game_console’ | ‘itv’
source.objectTypeType of sourcestringyes‘device’

Response examples

Response: Typology Deleted

ParameterDescriptionType
resultCommon http resultstruct
result.statusHttp codeinteger

Response codes

CodeTypeDescription
400ErrorBad Request: The request could not be understood by the server due to malformed syntax
401ErrorUnauthorized: authentication is required and has failed or has not yet been provided (token is invalid, etc)
404ErrorNot Found: Typology to be deleted not found
412ErrorPrecondition failed:It is not possible to delete a typology since it has some relations
500ErrorInternal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request
504ErrorGateway TimeoutService can not contact with oauth server to do some internal operations
204SuccessTypology deleted successfully. (No content)